{{define "/chapter3/template1.html"}}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script src="/static/js/jquery.min.js"></script> -->
</head>

<body>
    这是template1页面

    {{with .struct}}
        {{.Name}}
        {{.Age}}
    {{else}}
        数据不存在
    {{end}}
</body>

</html>
{{end}}